package com.zkthink.ceres.promotion.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ApplySalesDTO", description = "分销员申请")
public class ApplySalesDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @NotNull(message = "用户id不能为空")
    private Long mid;

    /**
     * 申请类型 1:实习分销 2：资深分销
     */
    @ApiModelProperty(value = "申请类型 1:实习分销 2：资深分销")
    @NotNull(message = "申请类型")
    private Long type;


}
